package com.chezhujie.www.domain;

import com.chezhujie.www.core.init.mysql.BaseEntity;
import com.chezhujie.www.core.init.mysql.annotation.Column;
import com.chezhujie.www.core.init.mysql.annotation.Entity;
import com.chezhujie.www.core.init.mysql.annotation.Id;
import com.chezhujie.www.core.init.mysql.annotation.Table;

import java.util.Date;

/**
 * Created by 汤伟杰 on 2017/7/7.
 */
@Entity
@Table(name="czj_giving",describe = "赠送二维码")
public class Czjgiving extends BaseEntity{
    @Id
    @Column(describe = "主键",length = 19,inputType = "hidden")
    private String givingId;
    @Column(describe = "活动id",length = 19,inputType = "select",inputCode = "str")
    private String actId;
    @Column(describe = "库存奖品id",length = 19,inputType = "select",inputCode = "str")
    private String awardstockId;
    @Column(describe = "创建时间",inputType = "date")
    private Date createtime;
    @Column(describe = "更新时间",inputType = "date")
    private Date updatetime;
    @Column(describe = "可赠送数量",length = 11,inputType = "int")
    private Integer amount;
    @Column(describe = "已发数量",length = 11,inputType = "int")
    private Integer sendNum;
    @Column(describe = "剩余数量",length = 11,inputType = "int")
    private Integer remain;
    @Column(describe = "删除标识",length = 11,inputType = "hidden")
    private Integer delFlag;


    public String getGivingId() {
        return givingId;
    }

    public void setGivingId(String givingId) {
        this.givingId = givingId;
    }

    public String getActId() {
        return actId;
    }

    public void setActId(String actId) {
        this.actId = actId;
    }

    public String getAwardstockId() {
        return awardstockId;
    }

    public void setAwardstockId(String awardstockId) {
        this.awardstockId = awardstockId;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getSendNum() {
        return sendNum;
    }

    public void setSendNum(Integer sendNum) {
        this.sendNum = sendNum;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getRemain() {
        return remain;
    }

    public void setRemain(Integer remain) {
        this.remain = remain;
    }
}
